<h1>Registro de Envio de Guia</h1>
  <% form_for :guia, @guia, :url => {:action => 'create_guia'} do %>
  <%= error_messages_for :guia %>
  <table>
    <thead>
      <th>Centros</th>
      <th>Mes</th>
      <th>Facturas</th>
    </thead>
    <tbody id="detalle_guias">
      <%= render :partial => 'detalle_guias/detalle_guia', :collection => @guia.detalle_guias %>
    </tbody>
  </table>
  <p><%= add_link 'Agregar', :detalle_guia %></p>
  <p><%= submit_tag "Guardar" %></p>
<% end %>
<p><%= link_to "Regresar", :action => "index" %></p>